<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/jquery-3.7.1.js"></script>
</head>
<body>
<ul id="test-ul">
    <li class="js">JaveScript</li>
    <li name="python">Python </li>
</ul>

<script>
    // document.getElementById() 原生的

    $('#test-ul li[name=python]').text();
    $('#test-ul li[name=python]').css('color','red');
    $('#test-ul li[name=python]').css('background-color','yellow');
    $('.js').html();
</script>
</body>
</html>